package com.zhaimen.module.product.convert.homelink;

import com.zhaimen.module.product.controller.admin.homelink.vo.HomeLinkCreateReqVO;
import com.zhaimen.module.product.controller.admin.homelink.vo.HomeLinkUpdateReqVO;
import com.zhaimen.module.product.controller.admin.homelink.vo.HomeLinkUpdateStatusReqVO;
import com.zhaimen.module.product.dal.dataobject.homelink.HomeLinkDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface HomeLinkConvert {
    HomeLinkConvert INSTANCE = Mappers.getMapper(HomeLinkConvert.class);

    HomeLinkDO convert01(HomeLinkCreateReqVO reqVO);

    HomeLinkDO convert01(HomeLinkUpdateReqVO reqVO);

    HomeLinkDO convert01(HomeLinkUpdateStatusReqVO reqVO);
}
